#! /usr/bin/env python3.6

children = ['zhangboping', 'xiaoming', 'xiaofang']

# loop key
for name in children:
    if name == 'xiaoming':
        break
        # continue
    print('current child name is : ', name)

# loop value
_map = {"name": "zhangboping", "age": 20}
for val in _map.values():
    print('loop value: ', val)


# loop key,value
for key,value in _map.items():
    print('key is :%s, value is:%s.' %(key, value))